#define _CRT_SECURE_NO_WARNINGS 1

#include <stdio.h>

int main()
{
    int n = 0;
    scanf("%d", &n);
    if ((n % 400 == 0) || ((n % 4 == 0) && (n % 100 != 0)))
        printf("yes\n");
    else
        printf("no\n");

    return 0;
}
